/*
 *  Copyright (C) 2021 张伊男
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program. If not, see <http://www.gnu.org/licenses/>.
 */

#pragma once

#include "opencv2/opencv.hpp"
#include "FightingParam.h"

struct RuneParam : FightingParam {
    float red_thresh;
    float blue_thresh;
    float match_limit;
    float maxHWRatio;//"H/W" of armor(0.72?)
    float minHWRatio;
    float maxArea;//area of armor
    float minArea;//area of R icon
    float R_max_area;
    float R_min_area;
    float R_max_ratio;//area ratio of R icon / armor
    float R_min_ratio;
    float shanye_min_area;
    float delay_time;//sum of all delay time

    void LoadParam() final;
};

extern RuneParam runeParam;
